package chapter1;

def number=0
new File ('''C:/dev/workspace/groovy_in_action/src/chapter1/PrintFile.groovy''').eachLine { line ->
	number++
	println "$number: $line" 
}
